#ifndef COMMON_H
#define COMMON_H

// #include <cuda_runtime_api.h>
#include <numeric>
#include <fstream>
#include "dirent.h"
// #include "NvOnnxParser.h"
// #include "logging.h"
#include <iostream> 
#include <map>

// These is necessary if we want to be able to write 1_GiB instead of 1.0_GiB.
// Since the return type is signed, -1_GiB will work as expected.
constexpr long long int operator"" _GiB(long long unsigned int val)
{
    return val * (1 << 30);
}
constexpr long long int operator"" _MiB(long long unsigned int val)
{
    return val * (1 << 20);
}
constexpr long long int operator"" _KiB(long long unsigned int val)
{
    return val * (1 << 10);
}


  
#endif //COMMON_H

